@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  background-color: rgb(245, 245, 245)
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
  background-color: #fff;
}

.el-pager li {
  padding: 1px 4px;
}

// 表格
.content {
  padding: 20px;
  
  // 卡片
  .el-card__body {
    padding: 10px 20px 20px 20px;

    // 单个刷新
    .refresh {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      padding-bottom: 10px;
    }
  }

  // 条件搜索
  .row-bg-query {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .row-bg-query > div:not(:first-child) {
    margin-left: 1%;
  }

  // 翻页
  .el-pagination {
    margin: 1% 0 0 0
  }
}

// 操作按钮
.operating {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 10px;
  justify-content: space-between;
}

// 评论
$color-main: #409EFF;
$color-success: #67C23A;
$color-warning: #E6A23C;
$color-danger: #F56C6C;
$color-info: #909399;

$text-main: #303133;
$text-normal: #606266;
$text-minor: #909399;  //次要文字
$text-placeholder: #C0C4CC;
$text-333: #333;

$border-first: #DCDFE6;
$border-second: #E4E7ED;
$border-third: #EBEEF5;
$border-fourth: #F2F6FC;

$content-bg-color: #fff
